package model

type UserCreateMsg struct {
	User      *User
	OtherInfo string
}

func (u UserCreateMsg) MessageType() string {
	return "user_create"
}
func (u UserCreateMsg) ChannelLent() int {
	return 10
}

type User struct {
	Name string
	Age  int
}
